www-Sharp.ClrHost ClrInstance object

Represents .Net object. It lets you create .Net object when HTML page loads and use it from script.

To use properties/methods of .Net object from JScript, VBScript and other ActiveX scripts those properties and methods should be COM-visible - most .Net objects that are included in .Net framework are not COM-visible, most .Net objects in custom assemblies are COM-visible.

www-Sharp.ClrHost will create .Net object with its default constructorá(constructor that has no parameters) and will set properties to values specified with PARAM tags.

ClassID:

4CC2B254-F4C7-4F52-881E-C2E10B14E003

Properties

Property Description
Instance Instance of .Net object. This property is default.

Public properties and methods exposed by .Net object could be used too.

Parameters

Parameter Description
AssemblyName The display name of the assembly. Instance is created with AppDomain.CreateInstance() method.
TypeName Full type name (with namespace).

Public properties could be set with PARAM tag.